package com.alexgaoyh.MutiModule.Dubbo.RWSeperate.api.manager.sysman.sysmanRole.write;

import org.apache.ibatis.annotations.Param;

import com.alexgaoyh.MutiModule.Dubbo.RWSeperate.persist.manager.sysman.sysmanRole.SysmanRole;
import com.alexgaoyh.MutiModule.Dubbo.RWSeperate.persist.manager.sysman.sysmanRole.SysmanRoleExample;

/**
 * SysmanRole 模块 写接口
 * @author alexgaoyh
 *
 */
public interface ISysmanRoleWriteService {

	int insert(SysmanRole record);

    int insertSelective(SysmanRole record);
    
    int updateByExampleSelective(@Param("record") SysmanRole record, @Param("example") SysmanRoleExample example);

    int updateByExample(@Param("record") SysmanRole record, @Param("example") SysmanRoleExample example);

    int updateByPrimaryKeySelective(SysmanRole record);

    int updateByPrimaryKey(SysmanRole record);
    
    int deleteByExample(SysmanRoleExample example);

    int deleteByPrimaryKey(Long id);
}
